Optimal. Leaf size=617 \[ \frac{10368 \sqrt{2} 3^{3/4} a^{10/3} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{1729 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{15552 \sqrt [4]{3} \sqrt{2+\sqrt{3}} a^{10/3} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{1729 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{31104 a^3 x}{1729 \left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}+\frac{7776 a^2 x \left (a-b x^2\right )^{2/3}}{1729}-\frac{252}{247} a x \left (a-b x^2\right )^{5/3}-\frac{3}{19} x \left (a-b x^2\right )^{5/3} \left (3 a+b x^2\right ) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.960829, antiderivative size = 617, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.292 \[ \frac{10368 \sqrt{2} 3^{3/4} a^{10/3} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{1729 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{15552 \sqrt [4]{3} \sqrt{2+\sqrt{3}} a^{10/3} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{1729 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}-\frac{31104 a^3 x}{1729 \left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}+\frac{7776 a^2 x \left (a-b x^2\right )^{2/3}}{1729}-\frac{252}{247} a x \left (a-b x^2\right )^{5/3}-\frac{3}{19} x \left (a-b x^2\right )^{5/3} \left (3 a+b x^2\right ) \]
Antiderivative was successfully verified.
[In] Int[(a - b*x^2)^(2/3)*(3*a + b*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 59.5352, size = 496, normalized size = 0.8 \[ - \frac{15552 \sqrt [4]{3} a^{\frac{10}{3}} \sqrt{\frac{a^{\frac{2}{3}} + \sqrt [3]{a} \sqrt [3]{a - b x^{2}} + \left (a - b x^{2}\right )^{\frac{2}{3}}}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}} \sqrt{\sqrt{3} + 2} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right ) E\left (\operatorname{asin}{\left (\frac{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}}{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}} \right )}\middle | -7 + 4 \sqrt{3}\right )}{1729 b x \sqrt{- \frac{\sqrt [3]{a} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right )}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}}} + \frac{10368 \sqrt{2} \cdot 3^{\frac{3}{4}} a^{\frac{10}{3}} \sqrt{\frac{a^{\frac{2}{3}} + \sqrt [3]{a} \sqrt [3]{a - b x^{2}} + \left (a - b x^{2}\right )^{\frac{2}{3}}}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right ) F\left (\operatorname{asin}{\left (\frac{\sqrt [3]{a} \left (1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}}{- \sqrt [3]{a} \left (-1 + \sqrt{3}\right ) - \sqrt [3]{a - b x^{2}}} \right )}\middle | -7 + 4 \sqrt{3}\right )}{1729 b x \sqrt{- \frac{\sqrt [3]{a} \left (\sqrt [3]{a} - \sqrt [3]{a - b x^{2}}\right )}{\left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )^{2}}}} + \frac{31104 a^{3} x}{1729 \left (\sqrt [3]{a} \left (-1 + \sqrt{3}\right ) + \sqrt [3]{a - b x^{2}}\right )} + \frac{7776 a^{2} x \left (a - b x^{2}\right )^{\frac{2}{3}}}{1729} - \frac{252 a x \left (a - b x^{2}\right )^{\frac{5}{3}}}{247} - \frac{3 x \left (a - b x^{2}\right )^{\frac{5}{3}} \left (3 a + b x^{2}\right )}{19} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((-b*x**2+a)**(2/3)*(b*x**2+3*a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.0630779, size = 88, normalized size = 0.14 \[ -\frac{3 \left (-3456 a^3 x \sqrt [3]{1-\frac{b x^2}{a}} \, _2F_1\left (\frac{1}{3},\frac{1}{2};\frac{3}{2};\frac{b x^2}{a}\right )-1731 a^3 x+961 a^2 b x^3+679 a b^2 x^5+91 b^3 x^7\right )}{1729 \sqrt [3]{a-b x^2}} \]
Antiderivative was successfully verified.
[In] Integrate[(a - b*x^2)^(2/3)*(3*a + b*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.039, size = 0, normalized size = 0. \[ \int \left ( -b{x}^{2}+a \right ) ^{{\frac{2}{3}}} \left ( b{x}^{2}+3\,a \right ) ^{2}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((-b*x^2+a)^(2/3)*(b*x^2+3*a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{2} + 3 \, a\right )}^{2}{\left (-b x^{2} + a\right )}^{\frac{2}{3}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + 3*a)^2*(-b*x^2 + a)^(2/3),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (b^{2} x^{4} + 6 \, a b x^{2} + 9 \, a^{2}\right )}{\left (-b x^{2} + a\right )}^{\frac{2}{3}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + 3*a)^2*(-b*x^2 + a)^(2/3),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 7.90244, size = 99, normalized size = 0.16 \[ 9 a^{\frac{8}{3}} x{{}_{2}F_{1}\left (\begin{matrix} - \frac{2}{3}, \frac{1}{2} \\ \frac{3}{2} \end{matrix}\middle |{\frac{b x^{2} e^{2 i \pi }}{a}} \right )} + 2 a^{\frac{5}{3}} b x^{3}{{}_{2}F_{1}\left (\begin{matrix} - \frac{2}{3}, \frac{3}{2} \\ \frac{5}{2} \end{matrix}\middle |{\frac{b x^{2} e^{2 i \pi }}{a}} \right )} + \frac{a^{\frac{2}{3}} b^{2} x^{5}{{}_{2}F_{1}\left (\begin{matrix} - \frac{2}{3}, \frac{5}{2} \\ \frac{7}{2} \end{matrix}\middle |{\frac{b x^{2} e^{2 i \pi }}{a}} \right )}}{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-b*x**2+a)**(2/3)*(b*x**2+3*a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{2} + 3 \, a\right )}^{2}{\left (-b x^{2} + a\right )}^{\frac{2}{3}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + 3*a)^2*(-b*x^2 + a)^(2/3),x, algorithm="giac")
[Out]